<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <ui:composition template="/template/DefaultTemplate.xhtml">
        <ui:define name="content">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <p:panel header="Billing Request # #{billingRequestEntityController.selected.id}" >
                    <h:panelGrid columns="2">
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_requestedAmount}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.requestedAmount}" title="#{bundle.ViewBillingRequestEntityTitle_requestedAmount}"/>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_salesOrder}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.salesOrder}" title="#{bundle.ViewBillingRequestEntityTitle_salesOrder}"/>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_invoice}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.invoice}" title="#{bundle.ViewBillingRequestEntityTitle_invoice}"/>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_id}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.id}" title="#{bundle.ViewBillingRequestEntityTitle_id}"/>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_createdAt}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.createdAt}" title="#{bundle.ViewBillingRequestEntityTitle_createdAt}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_createdBy}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.createdBy.fullname}" title="#{bundle.ViewBillingRequestEntityTitle_createdBy}"/>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_lastModifiedAt}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.lastModifiedAt}" title="#{bundle.ViewBillingRequestEntityTitle_lastModifiedAt}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewBillingRequestEntityLabel_lastModifiedBy.fullname}"/>
                        <h:outputText value="#{billingRequestEntityController.selected.lastModifiedBy}" title="#{bundle.ViewBillingRequestEntityTitle_lastModifiedBy}"/>
                    </h:panelGrid>
                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
